﻿using TPOJ.Model;
using System.Collections.Generic;

namespace TPOJ.IDAL
{
    public interface IAccountDAO
    {
        Account GetAccountByName(string accountName);

        Account GetAccount(int userId);

        int GetAccountRank(int userId);

        IList<System.Tuple<int, Account>> GetNeighboursByUserId(int userId, out int rank);
    }
}
